package com.lyz.myself.service.ServiceImpl;

import com.lyz.myself.mapper.RoleDepartmentMapper;
import com.lyz.myself.pojo.Po.RoleDepartment;
import com.lyz.myself.service.RoleDepartmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class RoleDepartmentServiceImpl implements RoleDepartmentService {

    @Autowired
    private RoleDepartmentMapper roleDepartmentMapper;

    @Override
    public int insert(RoleDepartment record) {
        return 0;
    }

    @Override
    public int insertSelective(RoleDepartment record) {
        return 0;
    }

    @Override
    public List<RoleDepartment> menu(Integer company_id) {
        return roleDepartmentMapper.menu(company_id);
    }
}
